package com.bdqn.t296.noso.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bdqn.t296.noso.entity.CDepartments;
import com.bdqn.t296.noso.entity.Menu;
import com.bdqn.t296.noso.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuMapper extends BaseMapper<Menu> {
    List<Menu> seleMenu(@Param("role") Role role);

    List<Menu> selectAll();
}
